From: Eric Leblond Date: Wed, 17 Jul 2019 10:35:12 +0000 (+0200) Subject: [PATCH] af-packet: fix build on recent Linux kernels X-Git-Tag: archive/raspbian/1%8.0.3-1+rpi1^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=1e155cb14481a4ad4a44efa993a782fc806a8a28;p=suricata.git [PATCH] af-packet: fix build on recent Linux kernels Gbp-Pq: Name import-sockio-h.patch --- diff --git a/src/source-af-packet.c b/src/source-af-packet.c index e5c2c23f..7ab0f04e 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -71,6 +71,10 @@ #include #endif +#if HAVE_LINUX_SOCKIOS_H +#include +#endif + #ifdef HAVE_PACKET_EBPF #define PCAP_DONT_INCLUDE_PCAP_BPF_H 1 #include